﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProgNetComponentsDx.Design.Editors;
using ProgNetComponentsDx.Design.Designers;

namespace ProgNetComponentsDx.Data.Design
{
    public class SelectDataGroupCollectionEditor : BaseGroupCollectionEditor
    {

        protected override ProgNetComponentsDx.Design.Designers.BaseGroupCollectionDesigner CreateDesignerForm()
        {
            return new SelectDataGroupCollectionDesigner();
        }

        protected override Type BaseNametype
        {
            get { return typeof(SelectDataNames); }
        }
    }

    public class SelectDataGroupCollectionDesigner : BaseGroupCollectionDesigner
    {
        protected override ProgNetComponents.Interfaces.INamedGroup CreateNewGroup()
        {
            return new SelectDataGroup();
        }

        protected override ProgNetComponents.Interfaces.INamedObject CreateNewItem()
        {
            return new SelectData();
        }
    }
}
